package com.shangsi.mapper;

import com.shangsi.model.TAccount;

public interface TAccountMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TAccount record);

    int insertSelective(TAccount record);

    TAccount selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TAccount record);

    int updateByPrimaryKey(TAccount record);

    /**
     * 扣钱操作
     * @param tAccount
     * @return
     */
    int decrease(TAccount tAccount);
}